Page History: Logon
Compare Page Revisions
Page Revision: 2012/09/04 12:47
Session InitiationUpon an established TCP connection, the T4 FIX API basic requirement is to have the initiator and acceptor start sequence numbers from 1.
Drop of a physical (TCP socket) connection will result in the end of a FIX session. Upon reconnection, a new FIX session will be started with a sequence number of 1 (for the API User). Likewise, the T4 API server will respond with messages starting with a sequence number of 1.
Authentication Requirements
Message Dictionary DescriptionsTag | Field Name | Req'd | Comments |
---|
| Standard Header | Y | MsgType = A |
98 | EncryptMethod | Y | (Always unencrypted) |
108 | HeartBtInt | Y | Note same value used by both sides |
95 | RawDataLength | N | Required for some authentication methods |
96 | RawData | N | Required for some authentication methods |
141 | ResetSeqNumFlag | N | Indicates both sides of a FIX session should reset sequence numbers |
789 | NextExpectedMsgSeqNum | N | Optional, alternative via counterparty bi-lateral agreement message gap detection and recovery approach |
383 | MaxMessageSize | N | Can be used to specify the maximum number of bytes supported for messages received |
| Standard Trailer | Y || |
Sample Message
34=1|49=test|56=T4Test|50=TraderName|52=20120904-17:37:16.848|91=64768859-3DCF-4214-A4E8-DA66881AFC63|90=36|95=10|96=_password_|98=None|108=30|
[FIXLOGIN]
[MsgSeqNum] 34 = 1
[SenderCompID] 49 = test
[TargetCompID] 56 = T4Test
[SenderSubID] 50 = TraderName
[SendingTime] 52 = 20120904-17:33:50.398
[SecureData] 91 = 64768859-3DCF-4214-A4E8-DA66881AFC63
[SecureDataLen] 90 = 36
[RawDataLength] 95 = 10
[RawData] 96 = _password_
[EncryptMethod] 98 = None
[HeartBtInt] 108 = 30